package com.tentative.competition.common.model.schedule.vo;

//import com.tentative.competition.common.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.tentative.competition.common.enums.MemberEnum;
import com.tentative.competition.common.enums.SexEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @auther: Smile Huang
 * @date: 2023/6/22 17:16
 * @desc:
 * @version: 2.0
 */
@Data
public class ScheduleTeacherInfoVo {

    private Long id;

    @Excel(name = "成员类型")
    private String memberTypeVal;

    public String getMemberTypeVal() {
        return this.memberType != null ? this.memberType.getName() : "";
    }

    @Excel(name = "姓名")
    @ApiModelProperty("成员｜老师名称")
    private String memberName;

    @ApiModelProperty("性别")
    private SexEnum sex;

    @Excel(name = "性别")
    private String sexVal;

    public String getSexVal() {
        return this.sex != null ? this.sex.getName() : "";
    }

//    @Excel(name = "在读学历")
//    @ApiModelProperty("在读学历")
//    private String education;
//
//    @Excel(name = "专业")
//    @ApiModelProperty("专业")
//    private String profession;
//
//    @Excel(name = "年级")
//    @ApiModelProperty("年纪")
//    private String grade;

    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String phone;

    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String unit;

    @Excel(name = "职务")
    @ApiModelProperty("职务")
    private String job;

    @Excel(name = "身份证")
    @ApiModelProperty("身份证信息")
    private String idCard;

    @ApiModelProperty("成员类型")
    private MemberEnum memberType;

    @ApiModelProperty("userid")
    private Long userId;

    private Long scheduleId;
}
